<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>底部</title>
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <script src="assets/js/jquery.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
</head>
<body>
<div class="bottom same">
    <div class="bottom_top center flexs">
        <div class="botTop_left">
            <img th:src="${footer[0].imgUrl1}" alt="">
            <p>[[${footer[0].title}]]</p>
            <p>[[${footer[0].description}]]</p>
        </div>
        <div class="botTop_left">
            <h3>[[${footer[1].title}]]</h3>
            <div class="progress">
                <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                    <span class="sr-only">[[${footer[1].description}]]</span>
                </div>
            </div>
            <p>
                [[${footer[1].b1}]]
            </p>
            <input type="text" placeholder="Enter your emall adaress..." id="searchContent">
            <button onclick="searchClick()">[[${footer[1].b2}]]</button>
        </div>
        <div class="botTop_left">
            <h3>[[${footer[2].title}]]</h3>
            <div class="progress">
                <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                    <span class="sr-only">[[${footer[2].description}]]</span>
                </div>
            </div>
            <div class="photos flex">
                <img th:src="${footer[3].imgUrl1}" alt="">
                <img th:src="${footer[4].imgUrl1}" alt="">
                <img th:src="${footer[5].imgUrl1}" alt="">

            </div>
        </div>
    </div>
</div>
<div class="bottoms same">
    <p>[[${footer[6].description}]]</p>
</div>


<script>
    function searchClick(){
        let val = $("#searchContent").val();
        let a = "http://localhost:8080/pub_head?searchKey="+val;
        location.href =a ;
    }
</script>
</body>
</html>
